import request from '../request.js';
/**
 * 品牌列表
 */
function findBrandsByPage(start = 1, limit = 10) {
	return request({
		url: `/lejuClient/brand/findBrandsByPage/${start}/${limit}`
	});
}
/**
 * 文章列表 
 */
function findArticleByPage(start = 1, limit = 10) {
	return request({
		url: `/lejuClient/productArticle/findArticleByPage/${start}/${limit}`
	})
}

/**
 * 文章详情
 * @param {Object} id
 */

function productArticle(id) {
	return request({
		url: `/lejuClient/productArticle/productArticle/${id}`
	});
}

export {
	findBrandsByPage,
	findArticleByPage,
	productArticle
}
